package com.example.swagger.entity;

public class Member {

    private String name;
    private Integer age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getMotto() {
        return motto;
    }

    public void setMotto(String motto) {
        this.motto = motto;
    }

    private String gender;
    //座右铭
    private String motto;

    @Override
    public String toString(){
        return age + "岁" + gender + "人[" + name + "]的座右铭是:" + motto + "!!!";
    }
}
